package twilight.companion.init;

import net.minecraft.world.item.Item;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.RegistryObject;
import twilight.companion.TwilightCompanion;
import twilight.companion.item.TwilightContractItem;

public class ModItems {
    public static final DeferredRegister<Item> ITEMS = DeferredRegister
            .create(ForgeRegistries.ITEMS, TwilightCompanion.MOD_ID);

    public static final RegistryObject<Item> TWILIGHT_CONTRACT = ITEMS.register("twilight_contract",
            TwilightContractItem::new);

    public static void register(IEventBus eventBus) {
        ITEMS.register(eventBus);
    }
}